from matplotlib import pyplot as plt


x1 = [1, 0, 1, 1, 2, 4, 3, 2, 3, 4, 4, 5, 6, 5, 4, 3, 3, 1, 1, 1]
y1 = [i for i in range(11, 31)]

x2 = y1
y2 = x1

plt.xlabel("year")
plt.ylabel("nums")

plt.scatter(y1, x1, label="haha")
plt.scatter(y2, x2, label="huhu")
plt.grid()
plt.legend()

plt.show()
